package com.heima.estatemanagement.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.heima.estatemanagement.domain.TbOwner;
import com.heima.estatemanagement.service.TbOwnerService;
import com.heima.estatemanagement.mapper.TbOwnerMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 86191
 * @description 针对表【tb_owner(业主表)】的数据库操作Service实现
 * @createDate 2023-02-08 12:00:07
 */
@Service
public class TbOwnerServiceImpl extends ServiceImpl<TbOwnerMapper, TbOwner>
        implements TbOwnerService {
    @Autowired
    private TbOwnerMapper ownerMapper;

    @Override
    public List<TbOwner> selectByCommunityId(int communityId) {
        return ownerMapper.selectByCommunityId(communityId);
    }
}




